package com.supplychain.financial.parent.api;

import java.util.List;
import java.util.Map;

public interface CloudlingService {
	List<Map<String,Object>> findAllChlChannelKind() throws Exception ;
	/**
	 * 获取渠道数据
	 * @param id 自己的id ，用来作为父id查询结果	
	 * @param pId 父节点的父id,用来区分是不是树根
	 * @param cck 父节点属于那一类根节点
	 * @return
	 */
	List<Map<String, Object>> findChlChannel(Long id, Long pId, Long cck) throws Exception;
	List<Map<String, Object>> findAllChlChannel(Map params) throws Exception;
	List<Map<String, Object>> findUserIdToSendMessage(Map<String, Object> parameter) throws Exception;

    Boolean insertCloudMessageRecord(Map<String, Object> cloudMessage);
}
